package org.springframework.security.web.util.matcher;

/**
 * @author Dillon
 * @date 2024/7/28
 * @slogan 致敬大师 致敬未来的你
 * @desc 请求匹配实体类，用来针对于不同实体，对应不同请求匹配器
 */
public class RequestMatcherEntry<T> {

	private final RequestMatcher requestMatcher;

	private final T entry;

	public RequestMatcherEntry(RequestMatcher requestMatcher, T entry) {
		this.requestMatcher = requestMatcher;
		this.entry = entry;
	}

	public RequestMatcher getRequestMatcher() {
		return this.requestMatcher;
	}

	public T getEntry() {
		return this.entry;
	}

}
